
#include "detector.h"
#include "getter.h"

int main(int argc, char** argv)
{
	try
	{
		Detector det(argc, argv);
		return det.Run();
	}
	catch(my_error & e)
	{
		if( string const * mi=boost::get_error_info<my_info>(e) )
			cout << "My info: " << *mi << endl;
		return 1;
	}
	
}